package cn.yuhh.serviec;

import cn.yuhh.entity.Tag;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ITagService {
    Page<Tag> listTag(Pageable pageable);

    Tag findById(Long id);

    Tag findByName(String name);

    void updateTagById(Long id, Tag tag);

    Tag save(Tag tag);

    void deleteById(Long id);

    List<Tag> listTag();

    public List<Tag> listTag(String tagIds);
}
